how can get attribute without getter in laravel

43

-> since Laravel 7.x and 8.x there is a new approach to access intact attribute:
// that skips accessors
$model->getRawOriginal('name');

Comments

Submit
0 Comments